package com.jic.manager.service;

import java.lang.Long;
import java.util.List;

import com.jic.common.base.vo.RestResult;
import com.jic.manager.entity.MeentryTerms;
import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.manager.request.MeentryTermsRequest;

/**
* 入驻条款
* @author : 
* @email : 
* @since : 2020-02-26 09:40:14
* @version : v1.0.0
*/
public interface MeentryTermsService {

    long insert(MeentryTermsRequest meentryTermsRequest);

    long delete(Long id);

    long update(MeentryTermsRequest meentryTermsRequest);

    MeentryTerms queryByPrimaryKey(Long id);

    List<MeentryTerms> query(MeentryTerms meentryTerms);

    PageResult<MeentryTerms> queryPage(MeentryTermsRequest meentryTermsRequest);

    RestResult<String> editEntryTermsInfo(MeentryTermsRequest meentryTermsRequest);

    RestResult<String> deleteEntryTerms(String ids);

    void updateByParams(MeentryTermsRequest meentryTermsRequest);

    MeentryTerms getTermsInfo(MeentryTerms meentryTerms);
}